$OpenBSD: patch-src_config_unix_os_stubs_c_c,v 1.1 2015/12/23 14:46:06 dcoppa Exp $

commit cca5f2d631c790ffc79e7533653315c8acb85875
Author: Christopher Meng <i@cicku.me>
Date:   Thu Mar 5 07:41:14 2015 -0500

Fix compilation errors with gcc5

--- src/config/unix/os_stubs_c.c.orig	Wed Dec 23 14:52:36 2015
+++ src/config/unix/os_stubs_c.c	Wed Dec 23 14:52:55 2015
@@ -66,7 +66,7 @@ ssize_t os_read(OS_FD fd, char *buf, size_t len)
 
 void os_ftruncate(OS_FD fd, OFF_T len, /* bool */ int sparse)
 {
-  int64 cursize;
+  int64_t cursize;
   if(!fd) failwith("ftruncate32: file is closed");
   
   cursize = os_getfdsize(fd);
@@ -109,7 +109,7 @@ int os_getdtablesize()
 
 *******************************************************************/
 
-int64 os_getfdsize(OS_FD fd)
+int64_t os_getfdsize(OS_FD fd)
 {
   struct stat buf;
 
@@ -127,7 +127,7 @@ int64 os_getfdsize(OS_FD fd)
 
 *******************************************************************/
 
-int64 os_getfilesize(char *path)
+int64_t os_getfilesize(char *path)
 {
   struct stat buf;
 
